/**
 * 登录页面样式
 * @author xiaoxujs
 */
import styled from "styled-components";

import Logo from "../../assets/image/Login/logo.png";
import LoginBg from "../../assets/image/Login/login_bg.png";

export const LoginBox = styled.div`
  width: 192rem;
  height: 91.9rem;
  padding: 4rem 0 0 5rem;
  box-sizing: border-box;
  background: url(${LoginBg}) #010916;
  background-size: 100% 100%;
  position: relative;;
  
`;

export const TopBox = styled.div`
  height: 4.8rem;
  width: 29rem;
  background: url(${Logo}) no-repeat;
  background-size: 100% 100%;

`;

export const CardBox = styled.div`
  position: absolute;
  right: 34.2rem;
  bottom: 11.9rem;
  width: 44.5rem;
  height: 49.1rem;
  background: rgba(5,23,49,0.78);
  border-radius: .4rem;
  border: .1rem solid #424E60;
  box-sizing: border-box;
  padding: 1.7rem 5rem;
  .title {
    height: 6rem;
    font-family: 'PingFang SC';
    font-weight: bold;
    font-size: 1.8rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
  }
  .input_title{
    font-family: 'PingFang SC';
    font-weight: 500;
    font-size: 1.4rem;
    color: #FFFFFF;
    height: 4.4rem;
    display: flex;
    align-items: center;
  }
  .login_input{
        width: 34rem;
        height: 5rem;
        color: #E4F2FF;
        background: #061D3A;
        border: 0.1rem solid #3C4E5E;
        padding-left: 1.6rem;
        line-height: normal;
        box-sizing: border-box;
        font-size: 1.8rem;
        margin: 0;
    }
    .login_input::placeholder{
        font-size: 1.8rem;
        color: #385E7D; 
        
    }
    .login_input::placeholder-shown{
        text-overflow: ellipsis;
        
    }
    .login_input:focus{
        outline: none; /* 去除默认的焦点样式 */
    }
    .login_input:focus, .login_input:active {
        border-color: #1677ff; /* 例如，将边框颜色改为红色 */
    }
    .yanzhengma{
      width: 15rem;
    }
    .image_style {
      width: 16rem;
      height: 5rem;
    }
    .code_type {
      margin: 1rem 0;
      display: flex;
      justify-content: space-between;
      width: 34rem;
    }
    .submit_box{
      width: 34rem;
      height: 5rem;
      background: #0B8DF5;
      border-radius: .4rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'PingFang SC';
      font-size: 1.8rem;
      color: #FFFFFF;
      margin-top: 2rem;
    }
  /* .yanzhengma{
    margin-top: 1rem;
    display: flex;
      .image_style{
          height:5.1rem;
          width: 16rem;
          margin-left: 2rem;
          font-size: 1.4rem;
          color: #fff;
      }
  } */
`;
